Fix: Add missing uv installation to deploy workflow#934
Merged
SaboniAmine merged 4 commits intoSep 24, 2025
Conversation
Co-authored-by: benoit-cty <6603048+benoit-cty@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix workflow: Install 'uv' before backend deployment to Clever Cloud
Fix: Add missing uv installation to deploy workflow
Sep 20, 2025
inimaz
approved these changes
Sep 24, 2025
inimaz
left a comment
Collaborator
There was a problem hiding this comment.
Thanks! Can we launch this before merging to try?
9b0c678 to
9d1a9d8
Compare
9d1a9d8 to
5f38afd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The production deployment GitHub Actions job was failing at the 'Deploy backend to Clever Cloud (PROD)' step with the following error:
This occurred when trying to execute:
uv pip compile carbonserver/pyproject.toml > requirements/requirements-api.txtRoot Cause
The deploy workflow (
.github/workflows/deploy.yml) was missing theuvtool installation, while other workflows in the repository already properly install it using theastral-sh/setup-uvaction.Solution
Added the missing
uvinstallation steps to the deploy workflow:astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3.2.4uv python install 3.12Both steps are positioned before the deployment step that requires
uv, ensuring the tool is available when needed.Changes
package.yml,test-package.yml,build-server.yml)This is a minimal, surgical fix that resolves the immediate deployment failure without affecting any other aspects of the workflow.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.shcurl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.